
.pages-profile-container {
    overflow-y: auto;
    overflow-x: hidden;
    h1 {
        margin-bottom: 2rem;
    }
}

.user-base-profile-row {
    display: flex;
    margin-bottom: 1rem;
    .ivu-form-item {
        margin-bottom: 0;
    }
    .ivu-form-item:not(:last-child) {
        border-bottom: 1px dotted $border-color;
    }
    .ivu-form-item-error-tip {
        top: 4px;
        left: 310px;
    }
}

.user-pass-change-warp {
    //.ivu-form-item {
    //    margin-bottom: 1rem;
    //}
    //.ivu-form-item-label {
    //    padding-top: 15px;
    //    padding-bottom: 15px;
    //}
    //.ivu-form-item-content {
    //    padding-top: 5px;
    //}
}

.user-base-profile-warp {
    width: 100%;
    display: flex;
    flex-direction: column;

    .user-base-profile__header {

    }
}

.user-profile-warp {
    padding: 1rem;
    .ivu-form {
        height: 100%;
        padding: 0 2rem;
        //width: ;
    }

    .ivu-form-item-label {
        text-transform: capitalize;
    }
    .ivu-form-item-content {
        //padding: 5px;
    }
    textarea {
        margin: 5px 0;
    }
    .ivu-input {
        width: 300px;
        //border-width: 0 ;
        //border-radius: 0;
    }
    .ivu-input:focus {
        outline: none;
        box-shadow: none
    }
}

.card-user-avatar-warp {
    width: 500px;
    user-select: none;
    flex-shrink: 0;
    text-align: center;
    .image {
        height: 150px;
        overflow: hidden;
        border-radius: $border-radius;
        position: relative;
    }
    .image img {
        max-width: 100%;
    }
    .image::after {
        content: '';
        background-color: $black;
        width: 100%;
        height: 100%;
        display: block;
        position: absolute;
        opacity: .2;
        top: 0;
        z-index: 1;
    }

    .card-extra {
        position: absolute;
        right: 5px;
        top: 5px;
        z-index: 2;
    }
    .card-extra i {
        color: white;
        font-size: 16px;
        cursor: pointer;
    }

    .card-body {
        position: relative;
        z-index: 2;
        text-align: center;
    }
    .user-avatar {
        margin: -80px auto 0;
        width: 100px;
        height: 100px;
        box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .42), 0 4px 25px 0 rgba(0, 0, 0, .12), 0 8px 10px -5px rgba(0, 0, 0, .2);
        border: 3px solid white;
        border-radius: 50%;
        overflow: hidden;
        //padding: 5px;
    }
    .user-avatar img {
        max-width: 100%;
    }
    h4, h2 {
        user-select: text;
    }
    .extra-ul {
        display: flex;
        justify-content: space-between;
    }
    .extra-ul li {
        width: 100%;
    }
    .extra-ul li:not(:last-child) {
        border-right: 1px solid $border-color;
    }
    .extra-ul li span {
        display: block;
        user-select: text;
    }
}

// 公共的card 样式 抽取组件时请带走

.card {
    border-radius: $border-radius;

    position: relative;
    margin-bottom: 20px;
    box-shadow: 0 1px 15px 1px rgba(39, 39, 39, 0.1);
    background-color: #fff;
}

.card .card-header {

}

.card .card-body {
    padding: 15px 15px 10px 15px;
}

.card .card-footer {
    padding: 15px 15px 10px 15px;
}
